package com.yuanhua.sim.netty.serve.handler;

import com.yuanhua.core.base.entity.MsgReqBean;
import com.yuanhua.core.base.entity.PingReqBean;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;
import lombok.extern.slf4j.Slf4j;

/**
 * * @description TODO
 * * @author songguoxiang@yunquna.com
 * * @date 2024/03/29 19:18
 */
@Slf4j
public class PingReqHandler extends SimpleChannelInboundHandler<PingReqBean> {
    @Override
    protected void channelRead0(ChannelHandlerContext channelHandlerContext, PingReqBean pingReqBean) throws Exception {
        log.info("接收客户端心跳");
    }
}
